home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
bat.zip
/
MULTI.BAT
< prev
next >
Wrap
DOS Batch File
|
1984-03-07
|
640b
|
31 lines
bat * Multiple command execution utility
bat if %1 = ? skip 1
bat if .%1 <> . goto -valid
bat cls begtype
<<<<< Multiple command utility >>>>>
Executes a command against multiple
files with a single line command.
Usage:
MULTI <cmd> <file1> <file2>..<file n>
end
bat exit
bat -valid if %2. = . exit
%1 %2
bat if %3. = . exit
%1 %3
bat if %4. = . exit
%1 %4
bat if %5. = . exit
%1 %5
bat if %6. = . exit
%1 %6
bat if %7. = . exit
%1 %7
bat if %8. = . exit
%1 %8
bat if %9. = . exit
%1 %9